package com.yl.zqy.mapper.sys;

import com.yl.zqy.entity.sys.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色管理 Mapper 接口
 * </p>
 *
 * @author liang.yu
 * @since 2024-03-28
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<String> getUserByRole(@Param("userId")String userId);
}
